package com.fortune.enums;

public enum SalesManEnum {
    ACCOUNT_IS_NOT_EXIST(false,"账号不存在"),
    PASSWORD_ERROR(false,"密码错误"),
    ACCOUNT_IS_DISABLED(false,"账号被禁用，请联系管理员"),
    LOGIN_SUCCESS(true,"登陆成功"),
    EDIT_PASSWORD_SUCCESS(false,"修改密码成功"),
    EDIT_PASSWORD_ERROR(false,"修改密码失败"),
    CODE_ERROR(false,"验证码错误"),
    VERIFICATION_SUCCESS(true, "验证成功"),
    VERIFICATION_ERROR(false, "验证失败"),
    EDIT_PHONE_ERROR(false, "修改手机号失败"),
    PHONE_NO_DOES(false, "手机号错误"),
    SALESMAN_LOGIN_ERROR(false, "您不是业务员，无权登陆"),
    DRIVER_LOGIN_ERROR(false, "您不是司机，无权登陆"),
    FIND_SUCCESS(true, "查询成功"),
    EDIT_NAME_SUCCESS(true, "修改昵称成功"),
    EDIT_NAME_ERROR(true, "修改昵称失败");
    private boolean status;
    private String msg;
    SalesManEnum(boolean status,String msg){
        this.status = status;
        this.msg = msg;
    }
    public boolean isStatus() {
        return status;
    }
    public void setStatus(boolean status) {
        this.status = status;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
